package main

import (
	"gin/chibuda/system/route"
	"github.com/Unknwon/goconfig"
)

func main() {
	r:= route.RegisterRoutes()
	var cfg, _= goconfig.LoadConfigFile("conf.ini")
	port , _ := cfg.GetValue("system", "runport")
	r.Run( ":"+ port )
}